package com.qige.homework.kind;

public class Architect extends Designer {
    public int num;

    public Architect() {
    }

    public Architect(String id, String name, int age, int salary, String language, int bonus, int num) {
        super(id, name, age, salary, language, bonus);
        this.num = num;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public void getInfo() {
        System.out.println("编号:" + id + "姓名:" + name + "年龄:" + age + "薪资:" + salary + "编程语言:" + language + "奖金:" + bonus + "持有股票数量:" + num);
    }

}
